<template>
  <van-nav-bar>
    <template #left>
      <div class="logo"></div>
    </template>
    <template #right>
      <van-button round type="info" color="#1989fa" icon="search" size="small">搜索</van-button>
    </template>
  </van-nav-bar>
</template>

<script>
export default {

}
</script>

<style lang="scss" scoped>
.van-nav-bar {
  .van-button {
    width: 100px;
    // background-color:#1989fa;
    // opacity: .5;
    font-size: 14px;
    color: #fff;
    .van-icon {
      color: #fff;
    }
  }
    .logo {
      width: 120px;
      height: 36px;
      background: url('~@/assets/logo.png') no-repeat;
      background-size: cover;
    }
}
</style>
